/* Copyright (c) Oracle Corporation 1995.  All Rights Reserved */
/*****************************************************************************
  NAME
    oci72.ins - V3 installation script for Windows 95 OCI 7.2.

  DESCRIPTION
    This script installs Windows 95 OCI 7.2.2

  MODIFIED    DD-MMM-YY  Reason
    echien    19-APR-95  Creation for Windows 3.1
    mclose    19-JUL-95  Adopted from Windows 3.1 and modified for Windows 95

*****************************************************************************/
{
  /**************************************************************************
      Start main logic...
   **************************************************************************/

  if (doit)
    {
      ins_ratchet = "7.2.2.3.1";

      execute("%installer_home%\win95.ins");

      permit_retry_operations = TRUE;

      install(w95rsf72);

      ui_product(product_label);

      ui_action(instantiate(installing_scripts));
      copy(deinstl);

      ui_action(instantiate(installing_ocifiles));
      copy(ocifiles);

      ui_action(instantiate(installing_ocisamples));
      copy(ocisamples);

      permit_retry_operations = FALSE;

      ui_product(product_label);

      rsf_registry = registration("w95rsf72");
      if (earlier_version(rsf_registry,"7.2.2.3.0"))
         signal('FAILURE,(instantiate(rsf_version_msg)));

      ui_action(instantiate(registering));

      permit_retry_operation = TRUE;

      register(current_product);
      reference(w95rsf72,current_product);

      permit_retry_operation = FALSE;
  }
}
